
namespace SjEntityClass
{
    /// <summary>
    /// 订单单头档
    ///</summary>
    [SugarTable("XMDA_T")]
    
    public class XmdaT
    {
        /// <summary>
        /// 企业编号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAENT", IsPrimaryKey = true)]
        public string Xmdaent { get; set; }
        /// <summary>
        /// 营运据点 
        ///</summary>
        [SugarColumn(ColumnName = "XMDASITE")]
        public string Xmdasite { get; set; }
        /// <summary>
        /// 订单单号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDADOCNO", IsPrimaryKey = true)]
        public string Xmdadocno { get; set; }
        /// <summary>
        /// 订单日期 
        ///</summary>
        [SugarColumn(ColumnName = "XMDADOCDT")]
        public DateTime? Xmdadocdt { get; set; }
        /// <summary>
        /// 版次 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA001")]
        public string Xmda001 { get; set; }
        /// <summary>
        /// 业务人员 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA002")]
        public string Xmda002 { get; set; }
        /// <summary>
        /// 业务部门 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA003")]
        public string Xmda003 { get; set; }
        /// <summary>
        /// 客户编号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA004")]
        public string Xmda004 { get; set; }
        /// <summary>
        /// 订单性质 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA005")]
        public string Xmda005 { get; set; }
        /// <summary>
        /// 多角性质 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA006")]
        public string Xmda006 { get; set; }
        /// <summary>
        /// 数据源 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA007")]
        public string Xmda007 { get; set; }
        /// <summary>
        /// 来源单号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA008")]
        public string Xmda008 { get; set; }
        /// <summary>
        /// 收款条件 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA009")]
        public string Xmda009 { get; set; }
        /// <summary>
        /// 交易条件 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA010")]
        public string Xmda010 { get; set; }
        /// <summary>
        /// 税种 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA011")]
        public string Xmda011 { get; set; }
        /// <summary>
        /// 税率 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA012")]
        public string Xmda012 { get; set; }
        /// <summary>
        /// 单价含税否 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA013")]
        public string Xmda013 { get; set; }
        /// <summary>
        /// 币种 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA015")]
        public string Xmda015 { get; set; }
        /// <summary>
        /// 汇率 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA016")]
        public decimal? Xmda016 { get; set; }
        /// <summary>
        /// 取价方式 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA017")]
        public string Xmda017 { get; set; }
        /// <summary>
        /// 收款优惠条件 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA018")]
        public string Xmda018 { get; set; }
        /// <summary>
        /// 纳入AMRP计算 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA019")]
        public string Xmda019 { get; set; }
        /// <summary>
        /// 运送方式 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA020")]
        public string Xmda020 { get; set; }
        /// <summary>
        /// 收款客户 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA021")]
        public string Xmda021 { get; set; }
        /// <summary>
        /// 收货客户 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA022")]
        public string Xmda022 { get; set; }
        /// <summary>
        /// 销售渠道 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA023")]
        public string Xmda023 { get; set; }
        /// <summary>
        /// 销售分类 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA024")]
        public string Xmda024 { get; set; }
        /// <summary>
        /// 出货地址 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA025")]
        public string Xmda025 { get; set; }
        /// <summary>
        /// 账款地址 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA026")]
        public string Xmda026 { get; set; }
        /// <summary>
        /// 客户连络人 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA027")]
        public string Xmda027 { get; set; }
        /// <summary>
        /// 一次性交易对象识别码 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA028")]
        public string Xmda028 { get; set; }
        /// <summary>
        /// 出货部门 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA029")]
        public string Xmda029 { get; set; }
        /// <summary>
        /// 多角贸易已抛转 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA030")]
        public string Xmda030 { get; set; }
        /// <summary>
        /// 多角序号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA031")]
        public string Xmda031 { get; set; }
        /// <summary>
        /// 留置原因 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA032")]
        public string Xmda032 { get; set; }
        /// <summary>
        /// 客户订购单号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA033")]
        public string Xmda033 { get; set; }
        /// <summary>
        /// 最终客户 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA034")]
        public string Xmda034 { get; set; }
        /// <summary>
        /// 发票类型 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA035")]
        public string Xmda035 { get; set; }
        /// <summary>
        /// 送货供应商 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA036")]
        public string Xmda036 { get; set; }
        /// <summary>
        /// 起运点 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA037")]
        public string Xmda037 { get; set; }
        /// <summary>
        /// 目的地 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA038")]
        public string Xmda038 { get; set; }
        /// <summary>
        /// 预收款发票开立方式 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA039")]
        public string Xmda039 { get; set; }
        /// <summary>
        /// 订单总税前金额 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA041")]
        public decimal? Xmda041 { get; set; }
        /// <summary>
        /// 订单总含税金额 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA042")]
        public decimal? Xmda042 { get; set; }
        /// <summary>
        /// 订单总税额 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA043")]
        public decimal? Xmda043 { get; set; }
        /// <summary>
        /// 唛头编号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA044")]
        public string Xmda044 { get; set; }
        /// <summary>
        /// 物流结案 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA045")]
        public string Xmda045 { get; set; }
        /// <summary>
        /// 账流结案 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA046")]
        public string Xmda046 { get; set; }
        /// <summary>
        /// 金流结案 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA047")]
        public string Xmda047 { get; set; }
        /// <summary>
        /// 内外销 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA048")]
        public string Xmda048 { get; set; }
        /// <summary>
        /// 汇率计算基准 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA049")]
        public string Xmda049 { get; set; }
        /// <summary>
        /// 多角流程编号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA050")]
        public string Xmda050 { get; set; }
        /// <summary>
        /// 多角最终站 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA051")]
        public string Xmda051 { get; set; }
        /// <summary>
        /// 备注 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA071")]
        public string Xmda071 { get; set; }
        /// <summary>
        /// 资料所有者 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAOWNID")]
        public string Xmdaownid { get; set; }
        /// <summary>
        /// 资料所有部门 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAOWNDP")]
        public string Xmdaowndp { get; set; }
        /// <summary>
        /// 资料录入者 
        ///</summary>
        [SugarColumn(ColumnName = "XMDACRTID")]
        public string Xmdacrtid { get; set; }
        /// <summary>
        /// 资料录入部门 
        ///</summary>
        [SugarColumn(ColumnName = "XMDACRTDP")]
        public string Xmdacrtdp { get; set; }
        /// <summary>
        /// 资料创建日 
        ///</summary>
        [SugarColumn(ColumnName = "XMDACRTDT")]
        public DateTime? Xmdacrtdt { get; set; }
        /// <summary>
        /// 资料更改者 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAMODID")]
        public string Xmdamodid { get; set; }
        /// <summary>
        /// 最近更改日 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAMODDT")]
        public DateTime? Xmdamoddt { get; set; }
        /// <summary>
        /// 资料审核者 
        ///</summary>
        [SugarColumn(ColumnName = "XMDACNFID")]
        public string Xmdacnfid { get; set; }
        /// <summary>
        /// 数据审核日 
        ///</summary>
        [SugarColumn(ColumnName = "XMDACNFDT")]
        public DateTime? Xmdacnfdt { get; set; }
        /// <summary>
        /// 资料过账者 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAPSTID")]
        public string Xmdapstid { get; set; }
        /// <summary>
        /// 资料过账日 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAPSTDT")]
        public DateTime? Xmdapstdt { get; set; }
        /// <summary>
        /// 状态码 
        ///</summary>
        [SugarColumn(ColumnName = "XMDASTUS")]
        public string Xmdastus { get; set; }
        /// <summary>
        /// 调货经销商编号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA200")]
        public string Xmda200 { get; set; }
        /// <summary>
        /// 代送商编号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA201")]
        public string Xmda201 { get; set; }
        /// <summary>
        /// 销售办事处 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA202")]
        public string Xmda202 { get; set; }
        /// <summary>
        /// 发票客户 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA203")]
        public string Xmda203 { get; set; }
        /// <summary>
        /// 促销方案编号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA204")]
        public string Xmda204 { get; set; }
        /// <summary>
        /// 整单折扣 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA205")]
        public decimal? Xmda205 { get; set; }
        /// <summary>
        /// 送货站点编号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA206")]
        public string Xmda206 { get; set; }
        /// <summary>
        /// 运输路线编号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA207")]
        public string Xmda207 { get; set; }
        /// <summary>
        /// 地区编号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA208")]
        public string Xmda208 { get; set; }
        /// <summary>
        /// 县市编号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA209")]
        public string Xmda209 { get; set; }
        /// <summary>
        /// 省区编号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA210")]
        public string Xmda210 { get; set; }
        /// <summary>
        /// 区域编号 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA211")]
        public string Xmda211 { get; set; }
        /// <summary>
        /// 本币含税总金额 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA212")]
        public decimal? Xmda212 { get; set; }
        /// <summary>
        /// 收款完成否 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA213")]
        public string Xmda213 { get; set; }
        /// <summary>
        /// 发货组织 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUNIT")]
        public string Xmdaunit { get; set; }
        /// <summary>
        /// 自定义字段(文本)001 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD001")]
        public string Xmdaud001 { get; set; }
        /// <summary>
        /// 自定义字段(文本)002 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD002")]
        public string Xmdaud002 { get; set; }
        /// <summary>
        /// 自定义字段(文本)003 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD003")]
        public string Xmdaud003 { get; set; }
        /// <summary>
        /// 自定义字段(文本)004 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD004")]
        public string Xmdaud004 { get; set; }
        /// <summary>
        /// 自定义字段(文本)005 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD005")]
        public string Xmdaud005 { get; set; }
        /// <summary>
        /// 自定义字段(文本)006 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD006")]
        public string Xmdaud006 { get; set; }
        /// <summary>
        /// 自定义字段(文本)007 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD007")]
        public string Xmdaud007 { get; set; }
        /// <summary>
        /// 自定义字段(文本)008 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD008")]
        public string Xmdaud008 { get; set; }
        /// <summary>
        /// 自定义字段(文本)009 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD009")]
        public string Xmdaud009 { get; set; }
        /// <summary>
        /// 自定义字段(文本)010 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD010")]
        public string Xmdaud010 { get; set; }
        /// <summary>
        /// 自定义字段(数字)011 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD011")]
        public decimal? Xmdaud011 { get; set; }
        /// <summary>
        /// 终端客户单价 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD012")]
        public decimal? Xmdaud012 { get; set; }
        /// <summary>
        /// 自定义字段(数字)013 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD013")]
        public decimal? Xmdaud013 { get; set; }
        /// <summary>
        /// 自定义字段(数字)014 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD014")]
        public decimal? Xmdaud014 { get; set; }
        /// <summary>
        /// 自定义字段(数字)015 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD015")]
        public decimal? Xmdaud015 { get; set; }
        /// <summary>
        /// 自定义字段(数字)016 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD016")]
        public decimal? Xmdaud016 { get; set; }
        /// <summary>
        /// 自定义字段(数字)017 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD017")]
        public decimal? Xmdaud017 { get; set; }
        /// <summary>
        /// 自定义字段(数字)018 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD018")]
        public decimal? Xmdaud018 { get; set; }
        /// <summary>
        /// 自定义字段(数字)019 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD019")]
        public decimal? Xmdaud019 { get; set; }
        /// <summary>
        /// 自定义字段(数字)020 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD020")]
        public decimal? Xmdaud020 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)021 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD021")]
        public DateTime? Xmdaud021 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)022 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD022")]
        public DateTime? Xmdaud022 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)023 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD023")]
        public DateTime? Xmdaud023 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)024 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD024")]
        public DateTime? Xmdaud024 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)025 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD025")]
        public DateTime? Xmdaud025 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)026 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD026")]
        public DateTime? Xmdaud026 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)027 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD027")]
        public DateTime? Xmdaud027 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)028 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD028")]
        public DateTime? Xmdaud028 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)029 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD029")]
        public DateTime? Xmdaud029 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)030 
        ///</summary>
        [SugarColumn(ColumnName = "XMDAUD030")]
        public DateTime? Xmdaud030 { get; set; }
        /// <summary>
        /// 银行账户 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA052")]
        public string Xmda052 { get; set; }
        /// <summary>
        /// 是否紧急订单（流通专用） 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA053")]
        public string Xmda053 { get; set; }
        /// <summary>
        /// 是否厂家直发（流通专用） 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA054")]
        public string Xmda054 { get; set; }
        /// <summary>
        /// 需求日期（流通专用） 
        ///</summary>
        [SugarColumn(ColumnName = "XMDA055")]
        public DateTime? Xmda055 { get; set; }
    }
}
